﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace SilverlightDatabase.Server
{
    [ServiceContract(Namespace = "http://silverdb.codeplex.com")]
    public interface ISilverlightDatabaseServer
    {
        [OperationContract]
        bool PutDatabase(SilverlightDatabaseData data);

        [OperationContract]
        SilverlightDatabaseData GetDatabase(string databaseName, string password, bool useCompression);

        [OperationContract]
        SilverlightDatabaseData UpdateDatabase(SilverlightDatabaseData database);
    }
}
